Skip to content

fix(sveltekit): Rewrite server-side stack frames to match uploaded artifacts #7831

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Apr 12, 2023

This PR adds the RewriteFrames integration to match the server-side stack frames with the uploaded source maps.

(since I'm still facing super weird timing issues with the debug Ids I'll try to get source maps working in the conventional way and revisit later)

ref #7669

@Lms24 Lms24 requested review from AbhiPrasad and lforst April 12, 2023 15:55
@Lms24 Lms24 self-assigned this Apr 12, 2023
@Lms24 Lms24 changed the title fix(sveltekit): Rewrite server-side stack frames to match source maps fix(sveltekit): Rewrite server-side stack frames to match uploaded artifacts Apr 12, 2023
@@ -22,6 +22,7 @@
"dependencies": {
"@sentry-internal/tracing": "7.47.0",
"@sentry/core": "7.47.0",
"@sentry/integrations": "7.47.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated note: should we just export RewriteFrames from @sentry/core considering how much we use it everywhere?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we could! Core would need to depend on integrations but this should be fine

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm thinking opposite - integrations depends on core!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure that also works 😅 I can do this but let's do it in another PR after this one

@Lms24 Lms24 merged commit 7b50bfa into develop Apr 13, 2023
@Lms24 Lms24 deleted the lms/sveltekit-source-maps-server branch April 13, 2023 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants